package com.czx.controller;

import com.czx.common.utils.R;
import org.springframework.web.bind.annotation.*;

import java.util.Map;
import java.util.Objects;

/**
 * @Author： jiuhuan
 * @Date: 2023/6/14 14:11
 */
@RestController
@RequestMapping("/demo")
public class DemoController {

    @GetMapping
    public R getList() {
        return R.success("查询全部");
    }
    @PostMapping
    public R save(@RequestBody Map<String, Object> param){
        return R.success(param);
    }
}
